package com.lzw.breadknife.sample.mvvm;

import com.lzw.breadknife.BindLayout;
import com.lzw.breadknife.sample.R;
import com.lzw.breadknife.sample.mvvm.base.BaseActivity;
import com.lzw.breadknife.sample.mvvm.view.ILoginView;
import com.lzw.breadknife.sample.mvvm.viewmodel.ILoginViewModel;
import com.lzw.breadknife.sample.mvvm.viewmodel.LoginViewModel;

/**
 * author  : AWeiLoveAndroid
 * e-mail  : lzw460433675@163.com
 * github  : https://gitee.com/AWeiLoveAndroid/BreadKnife
 * project : BreadKnife
 */
@BindLayout(value = R.layout.activity_login, rootPackage = "com.lzw.breadknife.sample")
public class LoginActivity extends BaseActivity<ILoginViewModel, LoginActivityUnbinder> implements ILoginView {
    @Override
    protected ILoginViewModel createViewModel(LoginActivityUnbinder unBinder) {
        return new LoginViewModel(this, unBinder);
    }
}
